package com.student_exam_system.pojo;

import lombok.*;
import net.sf.jsqlparser.expression.DateTimeLiteralExpression;

import java.sql.Timestamp;
import java.util.List;

@Data
@Builder
@ToString
@AllArgsConstructor
@NoArgsConstructor
public class Paper {
    private int paperId;
    private int paperTeacher;
    private String paperDateTime;
    private String paperName;
    private int examTime;


//    public Paper(int paperId, int paperTeacher, String paperDateTime, String paperName, int examTime) {
//        this.paperId = paperId;
//        this.paperTeacher = paperTeacher;
//        this.paperDateTime = paperDateTime;
//        this.paperName = paperName;
//        this.examTime = examTime;
//    }

    /**
     * 该张试卷的试题集合
     */
    private List<Question> questionList;
}
